/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package classdemo;

/**
 *
 * @author TQNINH
 */
public class SystemExec {
    
    public SystemExec() {
        
    }
    
    void getSystemExec() {
        System.out.print("Classpath settings: ");
        System.out.println(System.getProperty("java.class.path"));
        System.out.print("Home directory where Java has been installed: ");
        System.out.println(System.getProperty("java.home"));
        System.out.print("Java class format version number: ");
        System.out.println(System.getProperty("java.class.version"));
        System.out.print("Java Runtime Environment specification vendor: ");
        System.out.println(System.getProperty("java.specification.vendor"));
        System.out.print("Java Runtime Environment specification version: ");
        System.out.println(System.getProperty("java.specification.version"));
        System.out.print("Java Runtime Environment vendor: ");
        System.out.println(System.getProperty("java.vendor"));
        System.out.print("Java vendor URL: ");
        System.out.println(System.getProperty("java.vendor.url"));
        System.out.print("Java Runtime Environment version: ");
        System.out.println(System.getProperty("java.version"));
        System.out.print("Java Virtual Machine implementation name: ");
        System.out.println(System.getProperty("java.vm.name"));
    }
}
